﻿@model Apps.Models.PUB.PUB_CY_PARTITIONModel
@using Apps.Web.Core;
@using Apps.Common;
@using Apps.Models.PUB;
@using Apps.Web;
@using Apps.Locale;
@using Apps.Models.Sys;
@{
    ViewBag.Title = "详情";
    Layout = "~/Views/Shared/_Index_LayoutEdit.cshtml";
    List<permModel> perm = null;
}

<script type="text/javascript">
$(function () {
    $("#btnReturn").click(function () {
         window.parent.frameReturnByClose();
    });
});
</script>
<div class="mvctool bgb">
    @Html.HiddenFor(model => model.PARTITION_ID)
    <table class="formtable">
        <tbody>
            <tr>
                <th>
                    @Html.LabelFor(model => model.PARTITION_NAME)：
                </th>
                <td>
                    @Html.EditorFor(model => model.PARTITION_NAME)
                </td>
                <td>@Html.ValidationMessageFor(model => model.PARTITION_NAME)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.COALYARD_ID)：
                </th>
                <td>
                    @Html.DropDownListFor(model => model.COALYARD_ID, ViewBag.CYCOALYARD as SelectList)
                </td>
                <td>@Html.ValidationMessageFor(model => model.COALYARD_ID)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.ENABLED)：
                </th>
                <td>
                    @Html.SwitchDropdown("ENABLED", true, "可用", "不可用")
                </td>
                <td>@Html.ValidationMessageFor(model => model.ENABLED)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.ORDERS)：
                </th>
                <td>
                    @Html.EditorFor(model => model.ORDERS)
                </td>
                <td>@Html.ValidationMessageFor(model => model.ORDERS)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.MAX_INVENTORY)：
                </th>
                <td>
                    @Html.EditorFor(model => model.MAX_INVENTORY)
                </td>
                <td>@Html.ValidationMessageFor(model => model.MAX_INVENTORY)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.MAX_HEIGHT)：
                </th>
                <td>
                    @Html.EditorFor(model => model.MAX_HEIGHT)
                </td>
                <td>@Html.ValidationMessageFor(model => model.MAX_HEIGHT)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.BEGIN_WIDTH)：
                </th>
                <td>
                    @Html.EditorFor(model => model.BEGIN_WIDTH)
                </td>
                <td>@Html.ValidationMessageFor(model => model.BEGIN_WIDTH)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.END_WIDTH)：
                </th>
                <td>
                    @Html.EditorFor(model => model.END_WIDTH)
                </td>
                <td>@Html.ValidationMessageFor(model => model.END_WIDTH)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.BEGIN_LENGTH)：
                </th>
                <td>
                    @Html.EditorFor(model => model.BEGIN_LENGTH)
                </td>
                <td>@Html.ValidationMessageFor(model => model.BEGIN_LENGTH)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.END_LENGTH)：
                </th>
                <td>
                    @Html.EditorFor(model => model.END_LENGTH)
                </td>
                <td>@Html.ValidationMessageFor(model => model.END_LENGTH)</td>
            </tr>
            <tr>
                <th>
                    @Html.LabelFor(model => model.REMARKS)：
                </th>
                <td>
                    @Html.TextAreaFor(model => model.REMARKS, new { @style = "height:50px" })
                </td>
                <td>@Html.ValidationMessageFor(model => model.REMARKS)</td>
            </tr>
        </tbody>
    </table>

